/*
 * NetException.h
 *
 *  Created on: 22.11.2011
 *      Author: Pavel Sinay
 */

#ifndef NETEXCEPTION_H_
#define NETEXCEPTION_H_

#include <exception>
#include <string>

namespace net {

class NetException: public std::exception {
public:
	NetException(const std::string &message);
	virtual ~NetException() throw ();
	const char* what() const throw ();
private:
	std::string m_message;
};

class NotImplementedException: public NetException {
public:
	NotImplementedException();
};

}

#endif /* NETEXCEPTION_H_ */
